<h2>查看详细信息： <?php echo $model->title; ?></h2>

<div class="actionBar">
[<?php echo CHtml::link('infoContent List',array('list')); ?>]
[<?php echo CHtml::link('New infoContent',array('create')); ?>]
[<?php echo CHtml::link('Update infoContent',array('update','id'=>$model->id)); ?>]
[<?php echo CHtml::linkButton('Delete infoContent',array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure?')); ?>
]
[<?php echo CHtml::link('Manage infoContent',array('admin')); ?>]
</div>
<?php $this->widget('application.components.SearchBar');?>
<?php $this->widget('application.components.BreadCrumb', array(
  'crumbs' => array(
    array('name' => '有货首页', 'url' => array('pageMain')),
    array('name' => '潮流资讯', 'url' => array('list')),
    array('name' => "$model->title"),
  ),
  'delimiter' => ' &gt;&gt; ', // if you want to change it
)); ?>

<div id="p_main" class="p_info p_border3">
	<div class="p_ileft">
        <?php echo $this->renderPartial('_monthList', array(
			'classes'=>$classes,
		)); ?>
        <?php echo $this->renderPartial('_hots', array(
				'hots'=>$hots,
		)); ?>
    </div>
	<div class="p_iright">
        <h4>潮流资讯</h4>	
        <div class="p_idetail">
            <h2><?php echo CHtml::encode($model->title); ?></h2>
            <cite>发表时间:<?php echo CHtml::encode(date('Y-n-j G:i:s',$model->create_time)); ?>&nbsp;&nbsp;来源:<?php echo CHtml::encode($model->source_url); ?></cite>
            <?php echo $model->content; ?>
            <div class="p_ipre">上一篇：
                <?php if ($nav['last']===null){?>
                                                      无
                <?php }else {?>
                <a href="index.php?r=infoContent/show&id=<?php echo CHtml::encode($nav['last']->id); ?>" 
                   title="<?php echo CHtml::encode($nav['last']->title); ?>">
                    <?php echo CHtml::encode($nav['last']->title); ?>
                </a>
                <?php }?>
            </div>
            <div class="p_inext">下一篇：
                <?php if ($nav['next']===null){?>
                                                      无
                <?php }else {?>
                <a href="index.php?r=infoContent/show&id=<?php echo CHtml::encode($nav['next']->id); ?>" 
                   title="<?php echo CHtml::encode($nav['next']->title); ?>">
                    <?php echo CHtml::encode($nav['next']->title); ?>
                </a>
                <?php }?>
            </div>
            <div class="clear"></div>
        </div>
            <div class="p_irelative">
            
            <h5>相关资讯</h5>
                <ul>
                <?php foreach ($related as $info):?>
                
                    <li><a href="<?php echo $this->createUrl('show',array('id'=>$info->id));?>" 
                           title="<?php echo $info->title?>">
                            <?php echo $info->title?>
                        </a>
                    </li>
                <?php endforeach?>
                </ul>
            </div>
            <div class="p_pager p_totop">
            <p class="p_backtotop"><a href="#">返回顶部</a></p>
                <div class="clear"></div>
            </div>
        </div>
        <div class="clear"></div>
        <div class="p_ibotline"></div>
</div>
